import ajax from '@/utils/ajax/index';
import config from '@/config';
import handleCatch from '@/api/handleCatch';

export default {
  pagerByField(field, limit = 10, page = 1) {
		return ajax.get(config.ajaxApi+'/backend/user/wallet/'+field+'/record/pager?limit='+limit+'&page='+page)
			.then((res) => res.data)
			.catch(handleCatch);
  }
};
